package com.hgkj.cloud.base.dao;

import com.github.pagehelper.Page;
import com.hgkj.cloud.base.domain.TenantConsultDetail;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface TenantConsultDetailMapper {

	 int deleteByPrimaryKey(Long id) ;

	 int insert(TenantConsultDetail record) ;

	 int insertSelective(TenantConsultDetail record) ;

	TenantConsultDetail selectByPrimaryKey(Long id) ;

	 int updateByPrimaryKeySelective(TenantConsultDetail record) ;

	 int updateByPrimaryKey(TenantConsultDetail record) ;
	
	 List<TenantConsultDetail> listByConsultId( Map<String, Object> map);
	
	 long getListByConsultIdCount(Map<String, Object> map);

	List<TenantConsultDetail> listConsultDetailById(Map<String, Object> map);

    Page<TenantConsultDetail> getAllConsultDetail(Map<String, Object> map);
}